<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2023/11/9
  Time: 8:47
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>

<%--四大作用域
  pageScope
  requestScope
  sessionScope
  applicationScope


  --%>

<%
    //    page--> PageContext  只在当前 scope-page.jsp中使用
    application.setAttribute("name","zhangsan--Application");
    application.setAttribute("findKey","AppValue- zhangsan");

    //内部跳转
//    src/main/webapp/iobject/iobject.jsp
    request.getRequestDispatcher("/iobject/iobject.jsp").forward(request,response);


%>



<%--动作和标签中使用--%>
<%--request.getAttribute("name")  : <%=request.getAttribute("name")%>--%>






</body>
</html>
